This patch will make Link respawn in the same palace he was in
when he lost his last extra life.

It modifies the code from the Great Palace.

***NOTE***
If you've changed which scene a palace begins at, you'll need
to manually update the value of one of the below offsets in ROM,
because the values I set up are for the original game.
Maybe one day someone will improve it so you don't have to do this.

-njosro

002B43 - Palace 1 (scene 00)
002B44 - Palace 2 (scene 0E)
002B46 - Palace 3 (scene 00)
002B48 - Palace 4 (scene 0F)
002B4B - Palace 5 (scene 23)
002B4D - Palace 6 (scene 24)
002B4F - Great Palace (scene 00)